// 记录机票搜索历史
export const state = () => {
  return {
    list: []
  }
}
export const mutations = {
  depositList(state, data) {
    state.list.unshift(data)
    if (state.list.length > 5) {
      state.list.pop()
    }
  }
}
